﻿@model blacksoft.Models.HistorialViajeDataModel
@{
 
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />   
</head>
<body>
     
       
    <img src="@Model.ImageUrl" width="154" height="64" /> 
       
 
    <br />
    <h2 style="color:#000; font-weight:bold;font-size:20px;border-bottom:1px solid #000; text-align:center;">HISTORICO DE VIAJE</h2><br /><br /><br />

    <div style="font-family:Arial; font-size:10px;">
        <table>
            <tr>
                <td>EMISION REPORTE</td>
                <td>@Model.fechaDia</td>
            </tr>
            <tr>
                <td>CLIENTE</td>
                <td>@Model.Pasajero</td>
            </tr>
            <tr>
                <td>PUNTOS ACTUALES</td>
                <td>@Model.NumerosPuntos</td>
            </tr>
        </table>
    </div><br /><br /><br />

        <div style="font-family:Arial; font-size:10px;">
            <table cellpadding="3" cellspacing="3">
                <thead>
                    <tr border="1" bgcolor="#D8D8D8">
                        <td style="color: #000; font-size: 10px; text-align: center;">Origen</td>
                        <td style="color: #000; font-size: 10px; text-align: center;">Destino</td>
                        <td style="color: #000; font-size: 10px; text-align: center;">Fecha Viaje</td>
                        <td style="color: #000; font-size: 10px; text-align: center;">Monto Pagado</td>
                        <td style="color: #000; font-size: 10px; text-align: center;">Puntos</td>
                        <td style="color: #000; font-size: 10px; text-align: center;">Estado</td>
                    </tr>
                </thead>
                <tbody>
                    @foreach (var item in Model.historial)
                    {
                        <tr>
                            <td style="color:#000;font-size:9px;text-align:justify;">@item.origen</td>
                            <td style="color:#000;font-size:9px;text-align:justify;">@item.destino</td>
                            <td style="color:#000;font-size:9px;text-align:justify;">@item.fechaViaje</td>
                            <td style="color:#000;font-size:9px;text-align:justify;">@item.montoPasaje</td>
                            <td style="color:#000;font-size:9px;text-align:justify;">@item.puntosAGanar</td>
                            <td style="color:#000;font-size:9px;text-align:justify;">@item.EstadoReserva</td>
                        </tr>
                    }
                </tbody>
            </table>
        </div>
</body>
</html>
